pde by eliminating arbitrary fuction